package com.example.security.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "qh.security")
@Getter
@Setter
public class SecurityProperties {
    /**
     * 这个类会去读取【qh.security】为前缀的配置信息
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    private SocialProperties social = new SocialProperties();
}
